package com.kd.service.jobSeeker.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.kd.bean.jobSeeker.Doc_resumes;
import com.kd.dao.jobSeeker.IDoc_resumesDao;
import com.kd.service.jobSeeker.IDoc_resumesService;

@Service
@Transactional
public class Doc_resumesServiceImpl implements IDoc_resumesService{

	@Autowired
	private IDoc_resumesDao resDao;

	@Override
	public List<Doc_resumes> queryAllByBasic_id(Integer basic_id) throws Exception {
		return resDao.queryAllByBasic_id(basic_id);
	}

	@Override
	public Boolean insertDDoc_resumes(Doc_resumes doc_resumes) throws Exception {
		return resDao.insertDDoc_resumes(doc_resumes)>0;
	}

	@Override
	public Boolean removeDoc_resumes(Integer doc_id) throws Exception {
		return resDao.removeDoc_resumes(doc_id)>0;
	}
	
	
}
